﻿namespace ImapComponent.Net.Mail.Utils
{
    using System;

    /// <summary>
    /// Logger event arguments.
    /// </summary>
    public class LoggerEventArgs : EventArgs
    {
        #region Fields

        private readonly string message;

        #endregion // Fields

        #region Constructors

        /// <summary>
        /// Initializes a new instance of the LoggerEventArgs class.
        /// </summary>
        /// <param name="message"></param>
        public LoggerEventArgs(string message)
        {
            this.message = message;
        }

        #endregion // Constructors

        #region Properties

        /// <summary>
        /// Gets the message string.
        /// </summary>
        public string Message
        {
            get
            {
                return this.message;
            }
        }

        #endregion // Properties
    }
}
